package com.hoangkien.DAO;

import android.database.sqlite.SQLiteDatabase;

public class UserScheme {
	public static final String TABLE_USER_NAME = "user";
	public static final String ID = "id";
	public static final String KIND = "kind";
	public static final String PERMALINK = "permalink";
	public static final String USERNAME = "username";
	public static final String LAST_MODIFIED = "last_modified";
	public static final String URI = "uri";
	public static final String PERMALINK_URL = "permalink_url";
	public static final String AVATA_URL = "avatar_url";

	private static final String DATABASE_CREATE_USER = "Create Table "
			+ TABLE_USER_NAME + "(" + ID + " interger primary key, " + KIND
			+ " text, " + PERMALINK + " text, " + USERNAME + " text, "
			+ LAST_MODIFIED + " text, " + URI + " text, " + PERMALINK_URL
			+ " text, " + AVATA_URL + " text)";
	
	public static void onCreate(SQLiteDatabase db) {
		db.execSQL(DATABASE_CREATE_USER);
	}
}
